﻿using System.Collections.Generic;
using Devonline.Http;

namespace Devonline.MessageCenter
{
    /// <summary>
    /// 数据通道客户端, 交互数据为集合
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IDataClient<T> : IChannelClient<IEnumerable<T>> where T : class
    {
    }

    /// <summary>
    /// 可分页的数据通道客户端, 交互数据为分页传递的对象集合
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IPagedDataClient<T> : IDataClient<PagedResult<T>>
    {
    }
}
